package com.example;

import java.math.BigDecimal;

public interface Account {

    // 获取余额
    BigDecimal getTheBalance();

    // 存钱
    void store(BigDecimal money);

    // 取钱
    void withdrawMoney(BigDecimal money) throws InsufficientBalanceException;
}
